package com.cqu.lpss.service;

import com.cqu.lpss.pojo.Image;
import com.cqu.lpss.pojo.PageBean;
import com.cqu.lpss.pojo.Professors;
import org.springframework.web.bind.annotation.RequestParam;

public interface ProfessorsInterface {
    public Professors login(Professors professor);
    public Professors findById(String proId);
    public Professors findByIndex(Integer proIndex);
    public PageBean<Professors> list(Integer currentPage, // 当前页码
                                     Integer pageSize, // 每页显示数量
                                     String proId,
                                     String proName,
                                     Integer proLowAge,
                                     Integer proHighAge,
                                     Integer proGender,
                                     String proEmail,
                                     String proPhone,
                                     Integer proAuth,
                                     Integer proClass);
    public int danger_delete(String UserId,String UserName,Integer deleteproIndex);
    public int danger_record(String DangerKind,String UserId,String UserName,Integer proIndex,String professors,Integer dangerResult);
    public int danger_add(String UserId,
                            String UserName,
                            Professors addprof);
    public int danger_edit(String UserId,
                           String UserName,
                           Professors editprof);
    public Professors findByPhone(String phone);
    public int PersonCenter_upload(String newpassword,String phone,String email,String Id);
}
